<!DOCTYPE HTML>
<html><head>
    <meta charset="utf-8">
    <title>Testcase for bug 931853</title>
    <style type="text/css">
        html,body {
            color:black; background-color:white; font-size:16px; padding:10px; margin:0;
        }

div { height:7em; margin-bottom:2px; overflow:hidden; border:1px solid black;}
img { margin-left:30px; margin-top:-150px; vertical-align:top; }
span { display:inline-block; position:relative; height:0; xborder:1px solid red; }
    </style>
</head>
<body>

<div><br><br><br><span style="bottom:50px "><img src="" width="350" height="150"></span></div>
<div><br><br><br><span style="bottom:20px "><img src="" width="350" height="150"></div>
<div><br><br><br><span style="bottom:0px  "><img src="" width="350" height="150"></div>
<div><br><br><br><span style="bottom:120px"><img src="" width="350" height="150" style="margin-top:0px"></div>

</body>
</html>
